package com.code;

/**
 *	测试在子类中使用父类中的成员
 */
public class Son2 extends Father {
	
	public Son2() {
		super(1);
		super.a = 1;
		super.c = 2;
		super.test1();
		super.test2();
	}
	
	public void testSuper() {
		super.a = 1;
		super.c = 2;
		super.test1();
		super.test2();
		
	}
	
}
